Fix theoretical overrun in tiger reader.
authorrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 11 Feb 2014 02:53:10 +0000 (02:53 +0000)
committerrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 11 Feb 2014 02:53:10 +0000 (02:53 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4729 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/tiger.cc

index 865ede221d44a8d173a139a142e9f89b18afead0..1b2a4c6f1d7b23c64c23e4ecc8e03b863960771e 100644 (file)
@@ -154,8 +154,8 @@ static void
 data_read(void)
 {
   double lat,lon;
-  char desc[100];
-  char icon[100];
+  char desc[101];
+  char icon[101];
   char* ibuf;
   Waypoint* wpt_tmp;
   int line = 0;